let CreateSingle = (function(){
    let instance;
    return function(name){
        if(instance) {
            return instance
        }
        this.name = name
        return instance = this
    }
})()

let CreateSingle = (function(){
    let instance;
    return function(name){
        if(instance){
            return instance
        }
        return instance = new Single(name)
    }
})()

let Single = function(name){
    this.name = name
}